package cn.edu.wynu.oop.honor;

public class Test {

    public static void dealSkill(Hero hero) {
        hero.skill1();
    }

    public static void main(String[] args) {
        HouYi houYi = new HouYi(1500, "后羿");
        XiaoQiao xiaoQiao = new XiaoQiao(1300, "小乔");
        Test.dealSkill(houYi);
        Test.dealSkill(xiaoQiao);
    }
}
